<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-CN" dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

<script type="text/javascript">
function showToast(params1,params2) {
    var parm = params1+"&"+params2;
    window.transferEntity.htmlButtonClick(parm);
}
function showToastTwoParams(params1,params2) {
    window.transferEntity.htmlButtonClickBSecondParm(params1,params2);
}
function showToastNOParams() {
    window.transferEntity.htmlButtonClick();
}
function showAlert(host,params) {
    alert("提示信息！ //");
}

<!--供iOS调用-->
function alertTest(str){
    alert(str);
}
</script>


<style>
    
</style>


</head>
<body>
<span id="localdate"></span>
<span id="helloweb"></span>
<center>
<br/><br/>
<input type="button" value="有参数" onClick="showToast('params1','alert=showToast')" style="width:300px;height:30px" />
<br/><br/>
<input type="button" value="双参数" onClick="showToastTwoParams('params1','alert=showToast--Two')" style="width:300px;height:30px" />
<br/><br/>
<input type="button" value="无参数" onClick="showToastNOParams()" style="width:300px;height:30px" />
<br/><br/>
<input type="button" value="html弹框" onClick="showAlert('test3','alert=showAlert')" style="width:300px;height:30px" />
<br/><br/>
</center>
</body>
</html>
